package com.example.bookproject.controller;

import com.example.bookproject.model.BookInfo;
import com.example.bookproject.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RequestMapping("/book")
@RestController
public class BookController {

    @Autowired
    private BookService bookService;



    @RequestMapping("/getBookList")
    public List<BookInfo> getBookList(){
        //1、获取图书
        //2、对图书数据进行处理
        //3、返回数据
    return null;
    }

}
